package com.example.myapplication.activity.base_activity;

import androidx.appcompat.app.AppCompatActivity;

import android.os.Bundle;
import android.widget.ImageView;

import com.example.myapplication.R;

public class ImageScaleActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_scale);
        ImageView imageView = findViewById(R.id.iv_scale);
        imageView.setImageResource(R.drawable.dog);
        imageView.setScaleType(ImageView.ScaleType.FIT_XY);
    }
}